package com.xq.springboot.common;

import com.xq.springboot.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author xq
 * @version 1.0
 * @date 2021/4/19 8:54
 * @description 当前的活动对象，user，roles，permissions
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ActiverUser {
    /**
     * 用户对象
     */
    private User user;
    /**
     * 角色集合
     */
    private List<String> roles;
    /**
     * 权限集合
     */
    private List<String> permissions;
}
